#include <stdio.h>

int main() {
    char a;
    while((a = getchar())!= EOF)
{
    
    if(a>='A'&&a<='Z')
    {
        putchar(a+'a'-'A');
    }
    else
    {
        putchar(a);
    }
}
    return 0;
}
